import os
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'opwf.settings')

import django
django.setup()

import logging

logger = logging.getLogger('django')

try:
    p = 1/0
except Exception as e:
    logger.exception(e)
